﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Configuration;

namespace ESF.MUP.BasePlatform
{
    public sealed class ConnectorsConfigurationSection : System.Configuration.ConfigurationSection
    {

        // Declare the Urls collection property using the
        // ConfigurationCollectionAttribute.
        // This allows to build a nested section that contains
        // a collection of elements.
        [ConfigurationProperty("Connectors", IsDefaultCollection = false)]
        [ConfigurationCollection(typeof(ConnectorsConfigurationCollection),
            AddItemName = "add",
            ClearItemsName = "clear",
            RemoveItemName = "remove")]
        public ConnectorsConfigurationCollection Connectors
        {
            get
            {
                ConnectorsConfigurationCollection providersCollection =
                    (ConnectorsConfigurationCollection)base["Connectors"];
                return providersCollection;
            }
        }

    }

}
